package com.rsk.service.info;

import java.util.Map;

import com.rsk.utils.tools.PageUtils;

public interface RskInformationService {
	
	
	/*
	 * 资讯保存
	 */
	public int saveInformation(Long labelId, Integer informationType, String informationTitle, 
			String informationPhoto, String informationUser, String information, String informationUrl,
			Integer informationSource, Long operatorUser);
	
	
	/*
	 * 资讯修改
	 */
	public int updateInformation(Long id, Integer informationType,String informationTitle, String informationPhoto,
			String informationUser, String information, String informationUrl, Integer informationSource, 
			Long informationRead, Long operatorUser);
	
	
	/*
	 * 资讯删除
	 */
	public int delInformation(Long id, Long operatorUser);
	
	/*
	 * 资讯阅读自增
	 */
	public int updateInformationRead(Long id);
	
	
	/*
	 * 资讯发布/下架
	 */
	public int updateInformationStatus(Integer informationStatus, Long id, Long operatorUser);
	
	/*
	 * 资讯查询
	 */
	@SuppressWarnings("rawtypes")
	public PageUtils<Map> selectInformationByPage(Long labelID,
			String informationTitle, Integer nowPage, Integer pageSize);
	
}
